package empox.pos.basicinfo;

public class BasicStyle {

	public String account;
	public String style;
	public String styleName;
	public String sizeGroup;
	public String temp_1;

	public String price;

	public String count;

	public void addCount(String count) {
		int c = Integer.parseInt(this.count) + Integer.parseInt(count);
		this.count = String.valueOf(c);
	}

	public int getCount() {
		return Integer.parseInt(count);
	}

	public float getPrice() {
		return Float.parseFloat(price);
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getStyle() {
		return style;
	}

	public void setStyle(String style) {
		this.style = style;
	}

	public String getStyleName() {
		return styleName;
	}

	public void setStyleName(String styleName) {
		this.styleName = styleName;
	}

	public String getSizeGroup() {
		return sizeGroup;
	}

	public void setSizeGroup(String sizeGroup) {
		this.sizeGroup = sizeGroup;
	}

	public String getTemp_1() {
		return temp_1;
	}

	public void setTemp_1(String temp_1) {
		this.temp_1 = temp_1;
	}

	public void setValue(int id, String value) {
		switch (id) {
		case 0:
			account = value;
		case 1:
			style = value;
			break;
		case 2:
			styleName = value;
			break;
		case 3:
			sizeGroup = value;
			break;
		case 4:
			temp_1 = value;
			break;
		}
	}
}
